<template>
  <div class="page-container">
    <div class="message-container">
      <svg-icon name="404" class="icon-404" icon-class="404"/>
      <span class="message title">ERROR 404</span>
      <span class="message content">SORRY WE CAN'T FIND THIS PAGE</span>
      <el-button class="back-btn" @click="backToHome">
        Back to Home
      </el-button>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Page404',
  methods: {
    backToHome () {
      this.$router.push({ path: '/dashboard' })
    }
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
.page-container {
  display: flex;
  min-height: calc(100vh - 50px);
  .message-container {
    display: flex;
    flex-flow: column;
    margin: auto auto;
    width: 400px;
    .icon-404 {
      height: 94px;
      width: 133px;
      margin: 0 auto 16px !important;
    }
    .message {
      text-align: center;
      line-height: 73px;
      color: #333;
    }
    .title {
      font-size: 59px;
      font-weight: 900;
      font-family: Arial-Black,Arial;
    }
    .content {
      font-size: 22px;
      font-family: ArialMT;
    }
    .back-btn {
      margin: 21px auto 0;
      width: 159px;
      height: 30px;
      padding: 0;
      background-color: #00BEAE;
      color: white;
      font-size:14px;
      border: 0;
      box-shadow:0px 2px 4px 0px rgba(0,0,0,0.2);
    }
    .back-btn:hover {
      background:rgba(0,190,174,0.9);
    }
  }
}
</style>
